package com.ruoyi.easyfame.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 融资信息对象 tb_finance
 * 
 * @author ruoyi
 * @date 2025-09-09
 */
public class TbFinance extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 融资人姓名
     */
    @Excel(name = "融资人姓名")
    private String name;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idCard;

    /**
     *
     */
    @Excel(name = "")
    private Long bankId;

    /**
     *
     */
    @Excel(name = "")
    private Long businessId;

    /**
     * 融资用途说明
     */
    @Excel(name = "融资用途说明")
    private String purpose;

    /**
     * 融资金额
     */
    @Excel(name = "融资金额")
    private BigDecimal amount;

    /**
     * 融资期限(月)
     */
    @Excel(name = "融资期限(月)")
    private Long term;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Long status;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String note;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setBankId(Long bankId) {
        this.bankId = bankId;
    }

    public Long getBankId() {
        return bankId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setTerm(Long term) {
        this.term = term;
    }

    public Long getTerm() {
        return term;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getNote() {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("idCard", getIdCard())
                .append("bankId", getBankId())
                .append("businessId", getBusinessId())
                .append("purpose", getPurpose())
                .append("amount", getAmount())
                .append("term", getTerm())
                .append("status", getStatus())
                .append("note", getNote())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }


}
